cmake_minimum_required (VERSION 2.8)

project(tcorb)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -ggdb")

#for std::thread
add_definitions(-D_GLIBCXX_USE_NANOSLEEP)

set(LOG_SRC log/logging.cpp  log/logging.h)
find_package(Boost)

include_directories(log)
add_library(logging ${LOG_SRC})
add_executable(test test.cpp)
target_link_libraries(test logging pthread)


